WC_Braintree\Apple_Pay\Frontend S

Total Complexity 30
Dependencies 3
Dependents 1
Total lines 193
Lines of code 86
Logical lines of code 55
Comment lines 64
Methods 8
Properties 0

Methods 8

Method Rating Maintainability Complexity Lines of code
render_button()
A
47 9 35
is_tokenization_forced()
S
60 8 13
should_init_on_product_page()
S
71 3 6
should_init_on_cart_page()
S
71 3 6
should_init_on_checkout_page()
S
71 3 6
enqueue_scripts()
S
62 2 10
get_js_handler_class_name()
S
82 1 3
get_js_handler_args()
S
67 1 7